.container {
  width: 100%;
  overflow: hidden;
  background-color: var(--global-background);
  border: 1px solid var(--pane-border);
  border-radius: var(--border-radius-xl);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.container.pending {
  border-color: var(--primary-overlay-40);
  box-shadow: 0px 0px 40px 0px var(--primary-overlay-40);
}

.container.error {
  border-color: var(--danger-overlay-40);
  box-shadow: 0px 0px 20px 0px var(--severity-critical-40);
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-9);
  padding: var(--spacing-5) var(--spacing-5) var(--spacing-4);
  background-color: var(--global-background);
}

.inputWrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
}

.textarea {
  width: 100%;
  min-height: 120px;
  overflow: hidden;
  font-family: inherit;
  font-size: var(--font-size-6);
  line-height: 1.6;
  color: var(--global-foreground);
  resize: none;
  border-radius: var(--border-radius-md);
}

.textarea::placeholder {
  color: var(--overlay-30);
  transition: color 0.2s var(--default-timing-function);
}

.textarea:hover::placeholder {
  color: var(--overlay-50);
}

.textarea:focus {
  outline: none;
  border-color: var(--button-primary-background);
}

.textarea:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.textarea::placeholder {
  color: var(--overlay-30);
}

.error {
  font-size: var(--font-size-5);
  color: var(--danger-high-contrast-text);
}

.buttonsWrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
}

.buttons {
  display: flex;
  gap: var(--spacing-3);
  align-items: center;
  justify-content: space-between;
}

.dropdowns {
  display: flex;
  flex: 1;
  gap: var(--spacing-2);
  align-items: center;
  padding: 2px;
  overflow-x: auto;
}
